package com.sx.article.biz;

import java.util.List;

import com.sx.article.entity.KeyWordAndArticleUnionEntity;
import com.sx.article.entity.KeyWordsEntity;
import com.sx.feesunit.exception.SXException;

public interface IKeyWordBiz {
	/**
	 * 按照article文章编号删除关键字
	 **/
	public boolean deleteKeyWordsByArticleId(Integer aid) throws SXException;
	/**
	 *查询数量 
	 **/
	public String findKeyWordsCount(KeyWordsEntity keyword,String queryname)throws SXException;
	/**
	 *查询关键字 
	 **/
	public List<KeyWordsEntity> findKeyWords(KeyWordsEntity keyword,String queryname)throws SXException;
	/**
	 * 删除关键字
	 **/
	public boolean deleteKeyWords(KeyWordsEntity keyword) throws SXException;
	/**
	 *获取数据信息 
	 **/
	public String findKeyWordsJSONString(KeyWordsEntity keyword,String queryname)throws SXException;
	/**
	 *获取数据信息 
	 **/
	public String findKeyWordsJSONString(KeyWordsEntity keyword)throws SXException;
	/**
	 *查询数量 
	 **/
	public String findKeyWordsCount(KeyWordsEntity keyword)throws SXException;
	/**
	 *查询关键字 
	 **/
	public List<KeyWordsEntity> findKeyWords(KeyWordsEntity keyword)throws SXException;
	/**
	 *新增索引字 
	 **/
	public Integer addKeyWord(KeyWordsEntity keyword) throws SXException;
	/**
	 *新增表单与索引字关联 
	 **/
	public Integer addKeyWordAndArticeUnion(KeyWordAndArticleUnionEntity kwe) throws SXException;
}
